package com.ruoyi.jiuzai.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资报废对象 wuzibaofei
 * 
 * @author ruoyi
 * @date 2025-06-24
 */
public class Wuzibaofei extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long baoId;

    /** 用户id */
    @Excel(name = "用户id")
    private String yId;

    /** 关联单据 */
    @Excel(name = "关联单据")
    private String baoName;

    /** 备注 */
    @Excel(name = "备注")
    private String baoBeizhu;

    /** 仓库 */
    @Excel(name = "仓库")
    private Long kuId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shenheDate;

    /** 审核人员 */
    @Excel(name = "审核人员")
    private String shenheUser;

    /** 审核备注 */
    @Excel(name = "审核备注")
    private String shenheBeizhu;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long shenheZhuangtai;

    /** 仓库 */
    @Excel(name = "仓库")
    private Cangku ku;

    /** 用户 */
    @Excel(name = "用户")
    private Table12 y;

    public void setBaoId(Long baoId) 
    {
        this.baoId = baoId;
    }

    public Long getBaoId() 
    {
        return baoId;
    }

    public void setyId(String yId)
    {
        this.yId = yId;
    }

    public String getyId()
    {
        return yId;
    }

    public void setBaoName(String baoName) 
    {
        this.baoName = baoName;
    }

    public String getBaoName() 
    {
        return baoName;
    }

    public void setBaoBeizhu(String baoBeizhu) 
    {
        this.baoBeizhu = baoBeizhu;
    }

    public String getBaoBeizhu() 
    {
        return baoBeizhu;
    }

    public void setKuId(Long kuId) 
    {
        this.kuId = kuId;
    }

    public Long getKuId() 
    {
        return kuId;
    }

    public void setShenheDate(Date shenheDate) 
    {
        this.shenheDate = shenheDate;
    }

    public Date getShenheDate() 
    {
        return shenheDate;
    }

    public void setShenheUser(String shenheUser) 
    {
        this.shenheUser = shenheUser;
    }

    public String getShenheUser() 
    {
        return shenheUser;
    }

    public void setShenheBeizhu(String shenheBeizhu) 
    {
        this.shenheBeizhu = shenheBeizhu;
    }

    public String getShenheBeizhu() 
    {
        return shenheBeizhu;
    }

    public void setShenheZhuangtai(Long shenheZhuangtai) 
    {
        this.shenheZhuangtai = shenheZhuangtai;
    }

    public Long getShenheZhuangtai() 
    {
        return shenheZhuangtai;
    }

    public Cangku getKu() {
        return ku;
    }

    public void setKu(Cangku ku) {
        this.ku = ku;
    }

    public Table12 getY() {
        return y;
    }

    public void setY(Table12 y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("baoId", getBaoId())
            .append("yId", getyId())
            .append("baoName", getBaoName())
            .append("baoBeizhu", getBaoBeizhu())
            .append("kuId", getKuId())
            .append("shenheDate", getShenheDate())
            .append("shenheUser", getShenheUser())
            .append("shenheBeizhu", getShenheBeizhu())
            .append("shenheZhuangtai", getShenheZhuangtai())
                .append("y", getY())
                .append("ku", getKu())
            .toString();
    }
}
